package com.mskj.zxmy.service.serviceImpl;


import com.mskj.zxmy.entity.User;
import com.mskj.zxmy.mapper.UserMapper;
import com.mskj.zxmy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.Map;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findByUserName(String username) {
       User u =  userMapper.findByUserName(username);
       return u;
    }


}
